package com.woniu113.junk.site.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.woniu113.junk.site.model.WasteType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu113.junk.site.param.wastetype.AddWasteTypeParam;
import com.woniu113.junk.site.param.wastetype.AllWasteTypeParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蜡笔没了小新
 * @since 2024年10月16日
 */
public interface WasteTypeService extends IService<WasteType> {

    public WasteType addWasteType(AddWasteTypeParam param) throws Exception;

    public void deleteWasteType(Integer typeId);

    public void disableWasteType(Integer typeId);

    public void ableWasteType(Integer typeId);

    public Page<WasteType> findAll(AllWasteTypeParam param);


    public List<WasteType> findWasteTypeNoWastePrice(Integer stationId);
}
